-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Very minor improvements in C source code #116
base: master
Are you sure you want to change the base?
Conversation
@@ -94,11 +94,6 @@ void srunner_set_tap(SRunner * sr, const char *fname) | |||
sr->tap_fname = fname; | |||
} | |||
|
|||
int srunner_has_tap(SRunner * sr) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It used srunner_tap_fname that is not defined before.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was already defined in src/check_log.h
which is included in the beginning of src/check_log.c
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe make this a separate commit, instead of combining multiple unrelated improvements in one commit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
src/check_msg.c
Outdated
@@ -24,6 +24,7 @@ | |||
#include <stdlib.h> | |||
#include <fcntl.h> | |||
#include <stdio.h> | |||
#include <unistd.h> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For unlink
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This header is not available if in the Windows environment. Because of this, the MSVC and Visual Studio build fails: https://ci.appveyor.com/project/brarcher46583/check/build/1.0.467.
I removed from this pull request what I have split in an other one. #119 |
No description provided.